import request from "@/http/request";

export function selectAddressByCustomerId(customerId){
    let url="/api/address/listByCustomerId";
    return request.get(url,{
        params:{
            customerId
        }
    })
}

export function saveOrUpdateAddress(data){
    let url="/api/address/modifyAddress";
    return request.post(url,data,{})
}